package com.hanggold.captcha.core.impl;

import lombok.extern.slf4j.Slf4j;

import java.io.IOException;
import java.io.OutputStream;

/**
 * 算术验证码.
 *
 * @author <a href="mailto:free@hanggold.com">free</a>
 * @date 2021-09-30 13:55
 * @since 1.0.0
 **/
@Slf4j
public class GifArithmeticCaptcha extends ArithmeticCaptcha {
    
    @Override
    public final void buildImage(final OutputStream out, final String standardWeightChar, final int width, final int height,
                                 final int imageType, final char[] contents) throws IOException {
        buildGif(out, standardWeightChar, width, height, imageType, contents);
    }
}
